<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>Document</title>
</head>
<body>
<a href="obj00.html">作业一</a>
<a href="obj01.html">作业二</a>
<a href="obj02.html">作业三</a>
<a href="obj03.html">作业四</a>
<a href="obj04.html">作业五</a>
<script>
    var age = prompt('请输入你的年龄段');
    if(age < 14){
        document.write('儿童');
    }else if(age >= 14 && age <24){
        document.write('青少年');
    }else if(age >24 && age <40){
        document.write('青年');
    }else if(age >= 40 && age <60){
        document.write('中年');
    }else{
        document.write('老年');
    }
</script>
</body>
</html>